﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElfTyping.States.GameState.Entities;

namespace ElfTyping.States.GameState.Effects
{
    public class DeathEffect : GameEffect
    {
        public DeathEffect(Enemy enemy) : base()
        {
            CurrentAnimation = enemy.DeathAnimation;
            CurrentAnimation.SetAnimateOnce();
            DrawBox = enemy.DrawBox;
            TimeLeft = 1.5f;
        }
    }
}
